<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div th:if="${param.error}">
        用户名或密码错误
    </div>
    <div th:if="${param.logout}">
        你已退出
    </div>
    <form th:action="@{/login}" method="post">
        <div><label>UserName：</label><input type="text" name="username"></div>
        <div><label>PassWord：</label><input type="text" name="password"></div>
        <div><input type="submit" value="Sign In"></div>
    </form>
</body>
</html>